-- GENERATED SPELL FOR [Cult Alchemist] --


function spell0_32290(pUnit, Event) --@Corrosive Vial,n/a--
pUnit:FullCastSpellOnTarget(60846,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32290', 11000, 1)
end

function Sorts_32290(pUnit, Event)
local choix_sorts_32290 = math.random(0, 0)
if choix_sorts_32290 == 0 then
pUnit:RegisterEvent('spell0_32290', 1, 1)
end
end

function mob32290_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32290', math.random(1500, 3000), 1)
end

function mob32290_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32290_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32290_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32290, 1, 'mob32290_Action')
RegisterUnitEvent(32290, 2, 'mob32290_Leave')
RegisterUnitEvent(32290, 3, 'mob32290_Kill')
RegisterUnitEvent(32290, 4, 'mob32290_Die')
